Translate PIN Algorithm

Command:

Translate a PIN from encryption using the VISA PIN algorithm to encryption using the Racal algorithm.

Notes:

The HSM must be configured for the Racal algorithm.

 

Field

Length & Type

Details

COMMAND MESSAGE

Message header

m A

(Subsequently returned to the Host unchanged).

Command code

2 A

Value BQ.

Account number

12 N

The 12 right-most digits of the account number, excluding the check digit.

PIN

L N

The PIN encrypted under LMK pair 02-03 using the VISA algorithm.

End message delimiter

1 C

Optional. Must be present if a message trailer is present. Value X’19.

Message trailer

n A

Optional. Maximum length 32 characters.

RESPONSE MESSAGE

Message header

n A

Returned to the Host unchanged.

Response code

2 A

Value BR.

Error code

2 N

00 : No errors

13 : LMK error; report to supervisor

14 : Error in PIN from Host

15 : Error in input data

17 : Not in the Authorized state

PIN

L H

The PIN encrypted under new LMK pair 02-03 using the Racal algorithm.

End message delimiter

1 C

Present only if present in the command message. Value X’19.

Message trailer

n A

Present only if present in the command message. Maximum length 32 characters.